package com.exhr.pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * Trole entity. @author MyEclipse Persistence Tools
 */

public class Trole implements java.io.Serializable {

	// Fields

	private Integer rolid;
	private String rolname;
	private String roldesc;
	private String rolright;
	private Set taccounts = new HashSet(0);

	// Constructors

	/** default constructor */
	public Trole() {
	}

	/** full constructor */
	public Trole(String rolname, String roldesc, String rolright, Set taccounts) {
		this.rolname = rolname;
		this.roldesc = roldesc;
		this.rolright = rolright;
		this.taccounts = taccounts;
	}

	// Property accessors

	public Integer getRolid() {
		return this.rolid;
	}

	public void setRolid(Integer rolid) {
		this.rolid = rolid;
	}

	public String getRolname() {
		return this.rolname;
	}

	public void setRolname(String rolname) {
		this.rolname = rolname;
	}

	public String getRoldesc() {
		return this.roldesc;
	}

	public void setRoldesc(String roldesc) {
		this.roldesc = roldesc;
	}

	public String getRolright() {
		return this.rolright;
	}

	public void setRolright(String rolright) {
		this.rolright = rolright;
	}

	public Set getTaccounts() {
		return this.taccounts;
	}

	public void setTaccounts(Set taccounts) {
		this.taccounts = taccounts;
	}

}